<?php
/* @var $this SiteController */
/* @var $model LoginForm */
/* @var $form CActiveForm  */
$this->pageTitle=Yii::app()->name . ' - Login';
$this->widget('bootstrap.widgets.TbBreadcrumbs', array(
    'links'=>array('Login'=>'#', 'Data'),
));
?>

<h1>Login</h1>
<p>Please fill out the following form with your login credentials:</p>


<div class="form">    
    <?php /** @var BootActiveForm $form */
    $form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
            'id'=>'inlineForm',
            'type'=>'inline',
            //'htmlOptions'=>array('class'=>'well'),
            'clientOptions'=>array(
		'validateOnSubmit'=>true,
            ),
        )); 
    ?>
    <?php echo $form->textFieldRow($model, 'username', array('class'=>'input-small')); ?>
    <?php echo $form->passwordFieldRow($model, 'password', array('class'=>'input-small')); ?>
    <?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'submit', 'label'=>'Log in')); ?>
    <?php $this->endWidget(); ?>

</div><!-- form -->
